//
//  JJQueues.swift
//  swiftProject
//
//  Created by yangjian on 2021/11/26.
//

import UIKit

let queue_main = DispatchQueue.main
let queue_chuan_default = DispatchQueue.init(label: "default_serial")
let queue_bing_default = DispatchQueue.init(label: "default_concurrent", attributes: .concurrent)

func queue_chuan(label:String) -> DispatchQueue {
    return DispatchQueue.init(label: label)
}

func queue_bing(label:String) -> DispatchQueue {
    return DispatchQueue.init(label: label, attributes: .concurrent)
}

